package com.fh.service.weixin;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.fh.dao.DaoSupport;
import com.fh.entity.Page;
import com.fh.util.PageData;


@Service("weixinService")
public class WeixinService {

	@Resource(name = "daoSupport")
	private DaoSupport dao;
	//微信service

	/**
	 *通过名字获取所有有关的合同
	 */
	public List<PageData> landfindbyname(PageData pd)throws Exception{
		return (List<PageData>)dao.findForList("WeixinMapper.landfindbyname", pd);
	}

	/**
	 * 过用户获取合同里列表
	 */

	public List<PageData> con_list (PageData pd)throws Exception{
		return (List<PageData>)dao.findForList("WeixinMapper.con_list",pd);
	}


}

